package com.easy.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 风亦未止
 * @date 2021/10/8 19:10
 */
@ApiModel(value = "com-easy-domain-NoteComments")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "note_comments")
public class NoteComments implements Serializable {
    public static final String COL_NIKE_NAME = "nike_name";
    /**
     * 小纸条id
     */
    @TableField(value = "note_id")
    @ApiModelProperty(value = "小纸条id")
    private Long noteId;

    /**
     * 评论内容
     */
    @TableField(value = "`comment`")
    @ApiModelProperty(value = "评论内容")
    private String comment;

    /**
     * 评论用户的openid
     */
    @TableField(value = "openid")
    @ApiModelProperty(value = "评论用户的openid")
    private String openid;

    /**
     * 评论者昵名
     */
    @TableField(value = "nick_name")
    @ApiModelProperty(value = "评论者昵名")
    private String nickName;

    private static final long serialVersionUID = 1L;

    public static final String COL_NOTE_ID = "note_id";

    public static final String COL_COMMENT = "comment";

    public static final String COL_OPENID = "openid";

    public static final String COL_NICK_NAME = "nick_name";
}